package com.example.spindrift.service;

import com.example.spindrift.dao.SysSongListSongMapper;
import com.example.spindrift.models.SysSongListSong;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SongListSongService {
    @Autowired
    SysSongListSongMapper sysSongListSongMapper;

    public Integer insertSongListSong(SysSongListSong song) {
        return sysSongListSongMapper.insertSongListSong(song);
    }

    public SysSongListSong getSongListSongIsExist(Integer songListId,Integer songId){
        return sysSongListSongMapper.getSongListSongIsExist(songListId,songId);
    }
    public Integer insertSongListSongMult(Integer songListId, String songIds) {
        return sysSongListSongMapper.insertSongListSongMult(songListId,songIds);
    }
    public Integer delSongListSong(Integer songListId,String songIds){
        return sysSongListSongMapper.delSongListSong(songListId,songIds);
    }
}
